package com.itphy.queue;

import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

@Component
public class MsgQueue {

//    @RabbitListener(queues = {"oneDirectQueue"})
//    public void queue(Object msg){
//        System.out.println("1:::"+msg);
//    }
//
//    @RabbitListener(queues = {"twoDirectQueue"})
//    public void queue2(Object msg){
//        System.out.println("2:::"+msg);
//    }
//
//    @RabbitListener(queues = {"all"})
//    public void queue3(Object msg){
//        System.out.println(msg);
//    }

}
